﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeBehind="ManageQueues.aspx.cs" Inherits="WebView_SSResourceManager.Admin.ManageQueues" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="MainContent">

    <div>
        <asp:ListView ID="lstV_QueuesView" runat="server">
            <EmptyDataTemplate>
                <table id="Table1" runat="server" style="">
                    <tr>
                        <td>
                            Sorry, but users are not available
                        </td>
                    </tr>
                </table>
            </EmptyDataTemplate>
            <ItemTemplate>
                <tr style="">
                    <td>
                        <asp:Label runat="server" Text='<%# Eval("ResourceName") %>' />
                    </td>
                    <td>
                        <asp:Label runat="server" Text='<%# Eval("UserName") %>' />
                    </td>
                    <td>
                        <asp:Label runat="server" Text='<%# Eval("StartTime") %>' />
                    </td>
                    <td>
                        <asp:Label runat="server" Text='<%# Eval("FinishTime") %>' />
                    </td>
                    <td>
                        <a href="EditQueue.aspx?<%# Eval("id") %>">Edit </a>
                    </td>
                </tr>
            </ItemTemplate>
            <LayoutTemplate>
                <table id="listTable" runat="server">
                    <tr id="Header" runat="server">
                        <td id="Td1" runat="server">
                            <table id="itemPlaceholderContainer" runat="server" border="0" style="">
                                <tr id="Tr2" runat="server" style="">
                                    <th id="Th1" runat="server">
                                        Resource Name
                                    </th>
                                    <th id="Th2" runat="server">
                                        User name
                                    </th>
                                    <th id="Th3" runat="server">
                                        StartTime
                                    </th>
                                    <th id="Th4" runat="server">
                                        FinishTime
                                    </th>
                                    <th id="Th5" runat="server">
                                        Edit Queue
                                    </th>
                                </tr>
                                <tr id="itemPlaceholder" runat="server">
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
        </asp:ListView>
    </div>
</asp:Content>
